home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
bjack.swf
/
scripts
/
DefineButton2_85
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2006-01-17
|
696b
|
27 lines
on(release){
if(eval("_level0/1Player:TControl") == "1" and "21" < eval("_level0/1Player:pl1Split"))
{
set("_level0/1Player:pl1Split",eval("_level0/1Player:pl1tSplit"));
set("_level0/KDealer:TS1","_level0/1Player:pl1tSplit");
set("_level0/1Player:pl1tSplit","");
tellTarget("_level0/1Player")
{
gotoAndStop("Split2");
play();
}
gotoAndStop(32);
}
else
{
set("_level0/1Player:pl1tSplit","");
tellTarget("_level0/1Player")
{
gotoAndStop("Split2");
play();
}
gotoAndStop(32);
}
set("_level0/action:Tdeal","");
call("_level0:CorrectVars");
}